{include file="Public/header" title="课程列表"/}

<div id="container" class="container-fluid">
    <div class="row-fluid">

        <!-- 左侧导航栏 start -->
        {include file="Public/sidebar"/}
        <!-- 左侧导航栏 end -->
        <style>
            #lesson_list_table tr th
            {
                text-align: center;
            }
            #lesson_list_table tr td
            {
                line-height: 20px;
                min-height: 31px;
                height: 31px;
                text-align: center;
            }
        </style>
        <div id="content" class="span10">
            <div class="pageTit page-header">
                <h1>课程管理 </h1>

                <div class="opt">
                    <a class="btn btn-info" href="{:U('admin/lesson/add')}">添加课程</a>
                </div>
            </div>

            <div class="dataBox">
                <table class="table table-bordered table-striped table-condensed" id="lesson_list_table">
                    <tr>
                        <th>周一</th>
                        <th>周二</th>
                        <th>周三</th>
                        <th>周四</th>
                        <th>周五</th>
                        <th>周六</th>
                        <th>周日</th>
                    </tr>
                    {for start="0" end="5" name="i"}
                    <tr>
                        {for start="0" end="7" name="j"}
                        <td><a href="__APP__/admin/lesson/edit?id={$lesson_list[$i][$j]['Id']}">{$lesson_list[$i][$j]['name']}</a></td>
                        {/for}
                    </tr>
                    {/for}
                </table>
            </div>
            {include file="Public/page"/}

        </div>
    </div>
</div>
{include file="Public/footer"/}